"""headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36'
}

response = requests.get(url, headers=headers)
#应对反爬机制
"""


"""
import time
 
# 延迟2秒后发送下一个请求
time.sleep(2)
"""

"""
proxies = {
    'http': 'http://10.10.1.10:3128',
    'https': 'https://10.10.1.10:1080',
}
#用代理ip 
response = requests.get(url, proxies=proxies)
"""